package org.nicocube.airain.domain.client.exception;

public class GCMaxNumberCreateException extends DomainException {
	private static final long serialVersionUID = 1L;
	private int res;
	private int max;

	protected GCMaxNumberCreateException() {
	}
	
	public GCMaxNumberCreateException(int res,int max) {
		super("Number of character "+res+" superior to max "+max);
		this.res = res;
		this.max = max;
	}

	public int getRes() {
		return res;
	}

	public int getMax() {
		return max;
	}
}
